import React from 'react';
import './../../static/css/header.css';

class IconBtn extends React.Component {
	constructor(props) {
	  super(props);
	}
	
	render() {
		return (
			<div className={"uploading_"+this.props.btnname}>
				<a href={this.props.url} target={this.props.target?this.props.target:"_self"}>
					<i className={this.props.icon}></i>
					<p>{this.props.text}</p>
				</a>
			</div>
		);
	}
}

export default IconBtn;